import vix from '@bairong/vix'
import { HELIOS_PREFIX } from './urls'

const { request } = vix

// 获取所有商户
export function getAllComponyApi() {
  return request({
    url: `${HELIOS_PREFIX}/common/companyList`,
    method: 'get'
  })
}

// 获取字段模板类型
export function getFieldTypesApi() {
  return request({
    url: `${HELIOS_PREFIX}/common/get/op/enum`,
    method: 'post'
  })
}
